package com.xyz.keshe.model;

public class Comment {
    private int id;
    private String content;
    private int newsId;
    private String userName;
    private String createTime;

    public Comment() {
    }

    public Comment(int id, String content, int newsId, String userName, String createTime) {
        this.id = id;
        this.content = content;
        this.newsId = newsId;
        this.userName = userName;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
} 